package com.yuzhi.master.drainagePermit.domain.bo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuzhi.common.annotation.LocalDateTimeFormat;
import com.yuzhi.master.sewage.rmstSz.entity.request.LocalDateTimeSerializer;
import lombok.Data;
import java.time.LocalDateTime;

import com.yuzhi.common.core.domain.BaseEntity;

/**
 * 排水许可证业务对象 drain_drainage_permit
 *
 * @author coding123
 * @date 2025-07-15
 */

@Data
public class DrainDrainagePermitBo extends BaseEntity {


    /**
     * 排水户ID
     */
    private String clientId;

    /**
     * 许可证编号
     */
    private String permitNo;

    /**
     * 申请编号
     */
    private String applyNo;

    /**
     * 申请时间
     */
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime applyDate;

    /**
     * 受理编号
     */
    private String acceptNo;

    /**
     * 受理时间
     */
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime acceptDate;

    /**
     * 申请类别(1:首次申请 2:延期申请)
     */
    private String applyType;

    /**
     * 填表日期
     */
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime  submitDate;

    /**
     * 许可大类(1-临时，2-正式)
     */
    private String permitCategory;


    /**
     * 许可证有效期开始时间
     */
    @LocalDateTimeFormat("yyyy-MM-dd")
    private LocalDateTime  startDate;

    /**
     * 许可证有效期截止时间
     */
    @LocalDateTimeFormat("yyyy-MM-dd")
    private LocalDateTime  endDate;

    /**
     * 发证单位：城镇排水主管部门名称（如住建局、水务局等）
     */
    private String passportUnit;

    /**
     * 盖章日期
     */
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private  LocalDateTime  stampDate;




}
